<template>
  <div class="recommend-major">
    <div class="title">{{ item.showName }}</div>
    <div class="code-box">
      <div class="label">专业代码</div>
      <div class="code">{{ item.tagCode }}</div>
    </div>
  </div>
</template>

<script setup>
import { ref } from 'vue';

const props = defineProps({
  item: {
    type: Object,
    default() {
      return {};
    },
    required: true,
  },
});
</script>

<style scoped lang="scss">
.recommend-major {
  padding: 32px;
  background: #ebf5ff;
  border-radius: 8px;
  .title {
    font-weight: bold;
    font-size: 28px;
    color: #333333;
    line-height: 50px;
    margin-bottom: 8px;
  }
  .code-box {
    display: flex;
    font-size: 24px;
    color: #888;
    line-height: 40px;
    .label {
      margin-right: 24px;
    }
  }
}
</style>
